home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 4
/
United Public Domain Gold 4.iso
/
fredfish
/
ff.0761.dms
/
ff.0761.adf
/
AztecErr
/
AztecErr.doc
< prev
next >
Wrap
Text File
|
1992-11-21
|
9KB
|
268 lines
Documentation
AztecErr Version 1.0 © 1992 by H.P.G
FreeWare
Index:
Index
General Description
System Reqirements
Legal Stuff
Installation
Commandline
Using AztecErr
Arexx-Commands
Technical
BUGS
Last
Address
General Description:
AztecErr is a programmer-tool.
It supports the quickfix-option of the Manx Aztec C Compiler Version
5.xx. It has a full GadTools-User-Interface.
AztecErr is a OS 2.xx only tool. It doesn`t run under Kickstart 1.3.
AztecErr [AE] reads the AztecC.Err file and displayes the included
errors on its window.
On this window there are several Gadgets. By pressing the Gadgets you
can simply go to the next, previous, first and last error.
Alternatively you can press a key instead.
AztecErr has full ENV-support. It sets up two vars with the line and
column number of the current displayed error. You can read this vars
and ie call your editor to jump to the given position. see below.
If you have RexxHost.Library, AE opens an AREXX-Port. So you can
send a Rexx-Messages to AE with the same meaning than the Gadgets.
System Requirements:
You need at minimum Kickstart 2.xx. Version 36L may have some
problems too, because some functions are not implemented in this
version.
AztecErr is most useful if you have installed the AztecC System
Version 5.xx.
To use AE automatically you should set the ENV-varible CCEDIT via
MSet (support program of Manx) to AztecErr. Also you must compile
with option -qf for QuickFix.
if you want to use AE in another way, you can use a batchfile.
No Requirements but recommentements:
===========================================
If you are using an editor which has an AREXX-Ports or supports
AREXX or the best, your editor have also the ability of Macro-
definitions (f.e. DMe, Ced, TTX etc...), so you can use AE
automatically.
E.g.
If you create a REXX-Script, which examines the ENV variables.
'AztecErrLastLine' and 'AztevErrLastColumn', you can directly jump
to the place in your text where the error occured.
If you call this script after compiling, you can easily check all
errors and compile it again after correcting the last error.
An example Script for DMe is included.
Warning: You can use this abilities of AE only if you have
the RexxHost.Library and loads it in memory, like explained
above.
Legal Stuff:
This program and all files come with it, also the docfiles, are
released as FREEWARE.
this means:
everybody may use AztecErr,
everybody may copy AztecErr, if:
1. You copy all included files, see list at the end of the
doc file.
2. No changes are made, this means the program and all
included files must stay in the original form.
Exception: you may archieve it; but in this case you
must also archieve the whole package.
3. If you recompile it, you have to include a notice to
the original author. If you also want to (re)distribute
in any new form you have to send me a copy.
4. You may not sell AztecErr.
Execption: you`re allowed to take a small copy fee
which should not extend 5US$.
5. If you want to include AztecErr
or one of the included files as a part of a commercial
package, you must have written permission of the
author (address see below).
I take no warranty or garanty for the function of this program.
The whole risk of using AztecErr stays only by the user.
Installation:
The best is to copy AztecErr in the same directory in which are cc,
as and ln located.
But it must be in the currently AmigaDOS-searchpath
Commandline:
AE supports currently only three commandline parameters which are both
optional:
TopEdge/N This is the TopEdge where the window should appear.
Default is 0.
PortName=P This is the Name of the AREXX-Port AE will open.
Default is AZTEC_ERROR_PORT.
Screen=S/K If you want AztecErr to appear on another than the
WBenchscreen you can here specify the name of another
PublicScreen. Notice: The name is casedependent.
Using:
AE supports the quickfix-option of the Manx Aztec C Compilers
Version 5.xx. By compiling if an error occures cc calls the program
which is the content of the ENV-varable CCEDIT.
If you set CCEDIT to AztecErr [options] , so AztecErr will be
startet. AztecErr reads the file 'AztecC.Err' of the current
directory and opens a window.
If you quits AztecErr, the compiler starts again.
If you quits AztecErr by using the Break Gadget , AztecErr exits
with return code 5 (WARN), which can be used in batch files or
scripts etc.
In the secondline appears a lot of Gadgets displaying the first
error in the AztecC.Err file.
Gadget-List From left to right:
Below Err: This is the currently displayed error.
Below Sum: This is the amount of errors.
Below Kind: This is the Kind or the error, either ERROR or
WARNING
Below SourceFile: This is the name of the SourceFile in which the
errors are occured.
Ln: The line number of the error.
Col: The column number of the error.
EC: The code of the error.
Below This is the reason of the error
Next Line:
First [f] Activating this Gadget or pressing 'f' AE displays
the first error.
Previous [p] AE displayes the previous error.
Next [n] AE displayes the next available error. If there is
no more error the following text will be displayed
----- No More Errors ------.
Activating next again, closes the window and end
the program.
Last [l] AE displays the last error.
Quit [q] AE quits.
Break [b] AE quits with return code 5 (WARN).
You can type also the Keys:
[i] Is the same than to click the ZoomGadget of the
window. AE iconifies.
WARNING: all functions are still availbale in
this state By typing 'i' again the window appears
on the old place with the old size.
Arexx-Commands:
This commands are aquivalents of the Gadgets above.
FIRST
PREVIOUS
NEXT
LAST
BREAK
QUIT
CANCEL CANCEL is a synonym for QUIT and is only supported for
EXIT compatibility with other rexx commands and libraries.
Technical:
AE uses mainly OS 2.xx functions.
AE uses DOS-,Intuition- and GadTools.Library
AE because of its size there are no extra error- and break-handling
routines included.
So its yours to take care that AE don`t try to read a wrong
AztecC.Err file with the wrong format. If this happens AE can crash.
Also you should not try to end AE whith a ^C, because there is no ^C
support. Maybe the window stays still open and the program is
terminated.
If don`t you have RexxHost.Library , so AE is full functionalbe, of
course with the restriction that there is no AREXX-Port of AE and
the ENV-variables AztecErrLastLine and AztecErrLastColumn will not
be set.
You can call AE also with the command 'rxsend' of the Csh-Shell.
You doesn`t need an editor which owns an AREXX-Port, its also ok to
have an editor which is able to start DOS-commands ( MEmacs etc. ).
But its a little more tricky.
Last:
I hope many people will use AE to program faster and easier and with
a less amount of errors.
If you find any bug of AE, please let me know.
have fun ..
Address:
Hans-Peter Guenther
Gruener Weg 5
D-3501 Fuldatal 2
B.R.D (Germnany)
List Of Files:
(If you miss one of the following files you release is incomplete)
AztecErr : The binary
AztecErr.info
AztecErr.doc : English manual
AztecErr.doc.info
AztecErr.dok : German manual
AztecErr.dok.info
AztecC.Err : Example error file
rexx (dir) : Rexx scripts
DME_AztecError.dme : Script for use with DMe
DME_AztecError.dme.info
TTX_AztecError.ttx : Script for use with TTX
TTX_AztecError.ttx.info
rexx.info
----END